// Code generated by MockGen. DO NOT EDIT.
// Source: sync_peers.go
//
// Generated by this command:
//
//	mockgen -destination mocks/sync_peers_mock.go -source sync_peers.go -package mocks
//
// Package mocks is a generated GoMock package.
package mocks

import (
	context "context"
	reflect "reflect"

	gomock "go.uber.org/mock/gomock"
)

// MockSyncPeers is a mock of SyncPeers interface.
type MockSyncPeers struct {
	ctrl     *gomock.Controller
	recorder *MockSyncPeersMockRecorder
}

// MockSyncPeersMockRecorder is the mock recorder for MockSyncPeers.
type MockSyncPeersMockRecorder struct {
	mock *MockSyncPeers
}

// NewMockSyncPeers creates a new mock instance.
func NewMockSyncPeers(ctrl *gomock.Controller) *MockSyncPeers {
	mock := &MockSyncPeers{ctrl: ctrl}
	mock.recorder = &MockSyncPeersMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockSyncPeers) EXPECT() *MockSyncPeersMockRecorder {
	return m.recorder
}

// Run mocks base method.
func (m *MockSyncPeers) Run(arg0 context.Context) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Run", arg0)
	ret0, _ := ret[0].(error)
	return ret0
}

// Run indicates an expected call of Run.
func (mr *MockSyncPeersMockRecorder) Run(arg0 any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Run", reflect.TypeOf((*MockSyncPeers)(nil).Run), arg0)
}

// Serve mocks base method.
func (m *MockSyncPeers) Serve() {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "Serve")
}

// Serve indicates an expected call of Serve.
func (mr *MockSyncPeersMockRecorder) Serve() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Serve", reflect.TypeOf((*MockSyncPeers)(nil).Serve))
}

// Stop mocks base method.
func (m *MockSyncPeers) Stop() {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "Stop")
}

// Stop indicates an expected call of Stop.
func (mr *MockSyncPeersMockRecorder) Stop() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stop", reflect.TypeOf((*MockSyncPeers)(nil).Stop))
}
